package gblend.modification;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
/*
* Copyright 2010, Center for Advanced Information Systems,Nanyang Technological University
*
* File name: MaxCandidate.java
*
* Abstract: The structure of node with max candidate
*
* Current Version:      0.1
* Auther:               Jin Changjiu
* Modified Date:        Feb.11,2010
*
*/


/**
 *
 * @author ibmuser
 */
public class MaxCandidate {

    private int size = 0;
    private int id =-1;

    public void setNodeAtt(int nodeid, int candidateSize)
    {
        size = candidateSize;
        id = nodeid;
    }

    public int getNodeId()
    {
        return id;
    }
     public int getNodeSize()
    {
        return size;
    }

}
